﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SysSU.JSONRPC
{
    public class JSONRPC2ParseException : Exception
    {
        private String unparsableString = null;

        public string UnparsableString
        {
            get { return unparsableString; }
        }

        public JSONRPC2ParseException(String message) : base(message)
        {
        }

        public JSONRPC2ParseException(String message, String unparsableString) : this(message)
        {
            this.unparsableString = unparsableString;
        }
    }
}
